<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
  <title>偏远地区包邮</title>
  <script type="application/x-javascript">
  addEventListener("load", function () {
    setTimeout(hideURLbar, 0);
  }, false);

  function hideURLbar() {
    window.scrollTo(0, 1);
  }
  </script>
  <link rel="stylesheet" href="https://at.alicdn.com/t/font_1534407_edyx096nc5c.css">
  <script src="https://cdn.staticfile.org/vue/2.6.10/vue.min.js"></script>
  <script src="//cdn.staticfile.org/vue-lazyload/1.3.3/vue-lazyload.js"></script>

  <style>
      body {
          font-family: "Microsoft YaHei", arial, "PingFang SC";
          margin: 0 auto;
          font-size: .32rem
      }
      ol, ul {
          list-style: none
      }
      li {
          list-style-type: none
      }
      .clearfix:after {
          display: block;
          overflow: hidden;
          clear: both;
          height: 0;
          visibility: hidden;
          content: ""
      }
      img {
          width: 100%;
          display: block
      }
      * {
          margin: 0;
          padding: 0;
          -webkit-tap-highlight-color: transparent
      }
      html {
          font-size: 13.33333333vw
      }
      @media screen and (min-width: 750px) {
          html {
              font-size: 100px
          }
          .swiper-navbar::-webkit-scrollbar {
              width: 0;
              height: 0;
              background-color: #fafafa
          }
          .swiper-navbar::-webkit-scrollbar-thumb {
              border-radius: 0;
              background-color: rgba(0, 0, 0, 0)
          }
      }
      [v-cloak] {
          display: none
      }
      #app {
          min-height: 100vh;
          position: relative;
          background: #4396f8;
      }
      .banner {
          position: relative
      }
      .banner img {
          width: 100%;
          height: 3.19rem;
      }
      .banner .activity-status {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          padding: 0 .24rem;
          -webkit-box-sizing: border-box;
          box-sizing: border-box
      }
      .activity-status ul {
          display: -webkit-flex;
          display: flex;
          justify-content: space-between
      }
      .activity-status li {
          display: -webkit-flex;
          display: flex;
          -webkit-flex-direction: column;
          flex-direction: column;
          -webkit-justify-content: center;
          justify-content: center;
          width: 1.28rem;
          height: .6rem;
          text-align: center;
          background: #fb4913;
          border-radius: .08rem .08rem 0 0;
          color: #fff
      }
      .activity-status li.on {
          background: linear-gradient(0deg, #ffce8a, #fff4d9);
          color: #bb0c15
      }
      .activity-status .title {
          font-size: .22rem;
          font-weight: 700;
          line-height: .32rem
      }
      .activity-status .date {
          font-size: .18rem;
          line-height: .2rem
      }
      .maincms {
          margin: 0 auto;
          padding-bottom: .2rem
      }
      .mainWidth, .mainWidth .mainnav-fixed .mainnav {
          width: 100%
      }
      .maincontent {
          padding: 0 .24rem;
          margin: .27rem auto 0
      }
      .mainnav {
          position: relative;
          width: 100%;
          height: .74rem;
          z-index: 99;
          display: -moz-box;
          display: -webkit-box;
          display: box
      }
      .mainnav > .mainnav-content {
          position: relative;
          display: -webkit-box;
          display: box;
          width: 100%;
          height: .74rem;
          overflow: hidden
      }
      .partnav {
          height: .74rem;
          position: relative;
          overflow: hidden;
          -moz-box-flex: 1;
          -webkit-box-flex: 1;
          box-flex: 1;
          background: #fff;
          color: #333
      }
      .partnavlist {
          position: absolute;
          left: 0;
          -webkit-overflow-scrolling: touch;
          background: #fff
      }
      .partnavlist ul {
          position: relative;
          white-space: nowrap;
          font-size: 0
      }
      .partnavlist ul li {
          padding: 0 .15rem;
          height: .74rem;
          line-height: .76rem;
          position: relative;
          display: inline-block;
          color: #333;
          font-size: .26rem;
          text-align: center;
          text-decoration: none;
          cursor: pointer;
          background: #fff;
          user-select: none
      }
      .partnavlist.goods-nav-list ul li {
          width: 1.28rem
      }
      .partnavlist ul li:nth-child(1):before {
          content: initial
      }
      .partnavlist ul li.active {
          font-weight: 500;
          color: #5a4af4
      }
      .partnavlist ul li.active img {
          display: inline-block;
          width: .22rem;
          transform: translateY(.02rem)
      }
      .shopdetails {
          position: relative
      }
      .shopdetails ul li:nth-child(2n+2) {
          margin-left: .18rem
      }
      .shop-box {
          position: relative;
          width: 3.42rem;
          height: 5.4rem;
          float: left;
          margin-bottom: .26rem;
          background: #fff;
          border-radius: .08rem
      }
      .shop-box .copy-shop-box {
          position: absolute;
          top: 0;
          left: 0;
          z-index: 1;
          width: 100%;
          height: 100%
      }
      .box-left {
          position: relative;
          border-radius: .12rem;
          position: relative;
          border-radius: .12rem .12rem 0 0
      }
      .rank-num {
          position: absolute;
          top: -.06rem;
          left: .1rem;
          width: .4rem;
          height: .48rem;
          background: url(http://img.bc.fqapps.com/fudai20f325e8d78acc2655765c127ca4b86e.png) 0 0/100% no-repeat;
          font-size: .28rem;
          font-weight: 500;
          color: #fff;
          line-height: .48rem;
          text-align: center;
          -webkit-user-select: none;
          user-select: none
      }
      .advance {
          position: absolute;
          top: 0;
          display: -webkit-flex;
          display: flex;
          -webkit-align-items: center;
          align-items: center;
          height: .36rem;
          padding: 0 .08rem;
          background: linear-gradient(90deg, #7a18ff, #c02cff);
          box-shadow: 0 .04rem .08rem 0 rgba(149, 71, 255, .5);
          opacity: .8;
          font-size: .2rem;
          font-weight: 400;
          color: #fff
      }
      .advance.advance-type1 {
          right: 0;
          border-radius: 0 .06rem 0 .12rem
      }
      .advance.advance-type2 {
          left: 0;
          border-radius: .06rem 0 .12rem 0
      }
      .box-sales {
          position: absolute;
          bottom: 0;
          left: 50%;
          display: -webkit-flex;
          display: flex;
          -webkit-align-items: center;
          align-items: center;
          -webkit-justify-content: center;
          justify-content: center;
          font-size: .2rem;
          background-clip: #fff;
          min-width: 3.14rem;
          min-height: .48rem;
          font-size: .24rem;
          font-weight: 500;
          text-align: center;
          color: #fff;
          background: linear-gradient(90deg, rgba(255, 93, 37, .9), rgba(241, 31, 40, .9));
          border-radius: .06rem .06rem 0 0;
          text-align: center;
          transform: translateX(-50%)
      }
      .box-sales.rank-sales {
          display: -webkit-flex;
          display: flex;
          -webkit-align-items: center;
          align-items: center;
          padding: .03rem;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          -webkit-user-select: none;
          user-select: none
      }
      .rank-sales span {
          width: 100%;
          line-height: .42rem
      }
      .rank-sales span.name {
          height: .42rem;
          background: linear-gradient(0deg, #ffce8a, #fff4d9);
          border-radius: .06rem;
          font-size: .22rem;
          font-weight: 500;
          color: #d2131b;
          line-height: .46rem
      }
      .rank-sales span.num {
          height: .42rem;
          font-size: .22rem;
          font-weight: 500;
          color: #fff;
          line-height: .48rem
      }
      .rank-sales span.num em {
          font-size: .28rem;
          font-weight: 700;
          font-style: normal
      }
      .box-left img {
          width: 3.42rem;
          height: 3.42rem;
          border-radius: .08rem .08rem 0 0
      }
      .lefttop-ranking {
          position: absolute;
          top: 0;
          left: 0;
          min-width: 1.06rem;
          height: .33rem;
          background: linear-gradient(265deg, #ff8d6e, #ff400c);
          border-radius: .1rem 0 .12rem 0;
          display: flex;
          justify-content: center;
          align-items: center
      }
      .lefttop-ranking img {
          width: .8rem;
          height: .17rem;
          border-radius: 0
      }
      .discount-num {
          display: flex;
          align-items: center
      }
      .box-right {
          padding: 0 .14rem
      }
      .shopname {
          word-wrap: normal;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
          font-size: .26rem;
          padding: .18rem 0 .1rem;
          height: .32rem;
          line-height: .32rem;
          color: #333
      }
      .profit-box {
          display: -webkit-flex;
          display: flex;
          margin-bottom: .16rem;
          -webkit-user-select: none;
          user-select: none
      }
      .profit-box span {
          display: -webkit-inline-flex;
          display: inline-flex;
          -webkit-align-items: center;
          align-items: center;
          -webkit-justify-content: center;
          justify-content: center;
          width: 100%;
          height: .32rem;
          background: #ffebee;
          border-radius: .06rem;
          font-size: .2rem;
          font-weight: 500;
          color: #f71e41
      }
      .profit-box span + span {
          margin-left: .06rem;
          color: #f76a1e;
          background: #fff1ea
      }
      .discount-price {
          font-size: .16rem;
          font-weight: 500;
          color: #ff263e;
          border: 1px solid rgba(227, 12, 58, .2);
          background: rgba(227, 12, 58, .05);
          padding: 0 .06rem;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0
      }
      .discount-price span {
          font-size: .2rem
      }
      .inProduc-l-coupon {
          float: left;
          font-size: 0;
          cursor: pointer;
          font-style: normal;
          user-select: none
      }
      .inProduc-l-coupon span {
          display: inline-flex;
          align-items: center;
          padding: 0 .04rem;
          color: #fff;
          font-size: .22rem;
          background: #ff3636;
          height: .32rem;
          vertical-align: middle;
          border-radius: .04rem 0 0 .04rem;
          box-sizing: border-box
      }
      .inProduc-l-coupon em {
          display: inline-flex;
          align-items: center;
          padding: 0 .08rem 0 .04rem;
          border: 1px solid #ff3636;
          color: #fe1515;
          font-size: .22rem;
          height: .32rem;
          vertical-align: middle;
          font-style: normal;
          border-radius: 0 .04rem .04rem 0;
          box-sizing: border-box
      }
      .price {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: .26rem
      }
      .price p:first-child {
          height: .4rem;
          line-height: .4rem;
          font-size: .22rem;
          color: #ff0f02
      }
      .price p:last-child {
          height: .4rem;
          line-height: .4rem;
          font-size: .22rem;
          color: #999;
          vertical-align: middle
      }
      .price p:first-child span {
          height: .4rem;
          line-height: .4rem;
          font-size: .32rem;
          font-weight: 700;
          vertical-align: bottom
      }
      .price p:first-child i {
          font-style: normal;
          vertical-align: bottom
      }
      .panicbuy {
          position: absolute;
          bottom: 0;
          right: -.19rem;
          z-index: 4;
          user-select: none
      }
      .panicbuy img {
          width: 1.64rem
      }
      .mainnav-fixed {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          border-radius: 0;
          z-index: 199;
          height: .74rem;
          background: #fff
      }
      .mainnav-fixed .mainnav {
          width: 100%;
          margin: 0 auto
      }
      .realpic-loading {
          color: rgba(255, 255, 255, .4);
          font-size: .24rem;
          text-align: center;
          -webkit-user-select: none;
          user-select: none
      }
      .realpic-loading em {
          display: inline-block;
          vertical-align: middle;
          font-style: inherit
      }
      @keyframes vmspinLoad {
          from {
              transform: rotate(0)
          }
          50% {
              transform: rotate(180deg)
          }
          to {
              transform: rotate(360deg)
          }
      }
      @-webkit-keyframes vmspinLoad {
          from {
              transform: rotate(0)
          }
          50% {
              transform: rotate(180deg)
          }
          to {
              transform: rotate(360deg)
          }
      }
      .Econtent {
          position: fixed;
          top: 50%;
          left: 50%;
          display: none;
          width: 5.8rem;
          height: 6.88rem;
          margin-left: -2.9rem;
          margin-top: -3.44rem;
          background: url(http://img.fqapps.com/258627940aca1f586048a2b314e2d19a) no-repeat;
          background-size: 90% 90%;
          background-position: 50% 50%
      }
      .Econtent-box {
          position: relative;
          padding-top: 3.84rem
      }
      .Econtent-box span {
          position: absolute;
          bottom: -2rem;
          left: 50%;
          margin-left: -.3rem;
          width: .6rem;
          height: .6rem;
          background: url(http://img.haodanku.com/Fo2-nJ_43fsFStbAfqMUEcCFJnJ6);
          background-size: 100% 100%;
          cursor: pointer
      }
      .taokolintext {
          text-align: center;
          color: #fff;
          height: .4rem
      }
      .btnBox {
          color: rgba(255, 255, 255, .4);
          text-align: center;
          font-size: .22rem;
          margin-top: .6rem
      }
      .clearfix:after {
          display: block;
          overflow: hidden;
          clear: both;
          height: 0;
          visibility: hidden;
          content: ""
      }
      .bottom-hui {
          margin-top: -.5rem
      }
      .hui-img {
          width: 3.68rem;
          margin: 0 auto .26rem
      }
      .hui-img img {
          width: 3.68rem
      }
      .ge-hui-chang ul li {
          width: 48%;
          float: left;
          position: relative;
          margin-bottom: .14rem;
          border-radius: .12rem;
          border: 1px solid #ffbf5b
      }
      .ge-hui-chang ul li img {
          border-radius: .12rem
      }
      .ge-hui-chang ul li:nth-child(2n+2) {
          margin-left: 2%
      }
      .morenav {
          position: relative;
          width: .8rem;
          height: .74rem;
          display: flex;
          justify-content: center;
          align-items: center;
          cursor: pointer;
          background: #fff
      }
      .morenav i {
          font-size: .26rem;
          color: #333
      }
      .cover {
          width: 90%;
          height: .8rem;
          position: absolute;
          top: 0;
          left: 0;
          background: #fff8fa;
          -moz-box-flex: 1;
          -webkit-box-flex: 1;
          box-flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: .3rem;
          font-weight: 700;
          color: #333;
          background-color: #fff
      }
      .opennav {
          position: absolute;
          top: .74rem;
          left: 0;
          width: 100%;
          background: #fff
      }
      .opennav ul {
          display: -webkit-flex;
          display: flex;
          -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
          -webkit-box-shadow: 0 8px 14px -7px rgba(0, 0, 0, .1);
          box-shadow: 0 8px 14px -7px rgba(0, 0, 0, .1);
          padding: .05rem .15rem;
          border-top: .0133rem solid #f5f5f5
      }
      .opennav ul li {
          font-size: .22rem;
          letter-spacing: .02rem;
          text-align: center;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: .08rem;
          width: 1.64rem;
          height: .54rem;
          padding: .09rem 0;
          margin: .15rem .08rem;
          background: #f5f5f5;
          color: #666;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          -webkit-user-select: none;
          user-select: none
      }
      .opennav ul li.active {
          color: #fff;
          background: #5a4af4
      }
      .opennav ul li.active img {
          width: .2667rem
      }
      .header {
          position: relative
      }
      .share-box {
          display: none;
          position: fixed;
          top: 50%;
          left: 50%;
          width: 5.6rem;
          -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%)
      }
      .share-banner {
          width: 100%;
          display: block
      }
      .share-close {
          width: .6rem;
          height: .6rem;
          background: url(http://img.fqapps.com/298480c08c9328ccec29ef6a21f88da4) no-repeat;
          background-size: 100%;
          display: block;
          margin: .2rem auto 0;
          cursor: pointer
      }
      .share-task {
          position: fixed;
          right: 0;
          bottom: 2.6rem;
          z-index: 100;
          cursor: pointer
      }
      .share-task img {
          width: 1.22rem;
          display: block
      }
      .share-btn {
          display: block;
          width: 3.7rem;
          height: .88rem;
          margin: .2rem auto 0;
          background: linear-gradient(-35deg, #ff7d5e, #ff363b);
          border-radius: 1rem;
          text-align: center;
          font-size: .4rem;
          font-weight: 500;
          color: #fff;
          line-height: .88rem;
          font-style: normal;
          -webkit-user-select: none;
          user-select: none
      }
      .copy-app {
          position: fixed;
          top: 0;
          left: 0;
          z-index: 2;
          width: 100%;
          height: 100%
      }
      .shopcontent {
          margin-top: .18rem
      }
      .shopcontent ul {
          display: -webkit-flex;
          display: flex;
          -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
          padding: 0 .14rem
      }
      .shopcontent li {
          width: 3.56rem;
          height: 1.86rem;
          margin-bottom: .1rem;
          background: #fff;
          border-radius: .08rem
      }
      .shopcontent ul li:nth-child(2n+2) {
          margin-left: .1rem
      }
      .shopcontent .shop-info {
          display: -webkit-flex;
          display: flex;
          padding: .15rem .1rem .15rem .16rem
      }
      .shop-info > img {
          width: 1rem;
          height: 1rem;
          border-radius: .08rem
      }
      .shop-info .shop-title {
          margin-left: .18rem
      }
      .shop-info .shop-title > p {
          position: relative;
          display: -webkit-flex;
          display: flex;
          -webkit-align-items: center;
          align-items: center;
          height: .4rem;
          margin: .1rem 0 .08rem;
          padding-left: .3rem;
          font-size: .26rem;
          font-weight: 500;
          color: #333
      }
      .shop-info .shop-title > p img {
          position: absolute;
          top: 50%;
          left: 0;
          width: .26rem;
          height: .26rem;
          -webkit-user-select: none;
          user-select: none;
          transform: translateY(-50%)
      }
      .shop-info .shop-title > p span {
          display: block;
          width: 1.78rem;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap
      }
      .shop-info .shop-title > span {
          display: block;
          width: 1.8rem;
          height: .3rem;
          padding: 0 .1rem;
          line-height: .3rem;
          background: #f6f0ff;
          font-size: .2rem;
          font-weight: 500;
          color: #802efa;
          border-radius: .06rem;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap
      }
      .free-box .code-txt {
          border-top: 1px solid #e5e3ff;
          background: #f2f1ff;
          line-height: .56rem;
          text-align: center;
          font-size: .22rem;
          font-weight: 500;
          color: #5a4af4;
          cursor: pointer;
          border-radius: 0 0 .08rem .08rem
      }
      .hallcontent {
          margin-top: .28rem;
          padding: 0 .24rem
      }
      .hallcontent img {
          display: inline-block;
          width: 3.4rem;
          margin-bottom: .18rem;
          border-radius: .06rem
      }
      .hallcontent img:nth-child(2n+2) {
          margin-left: .19rem
      }
      .footer {
          width: 100%;
          height: 1.26rem
      }
      .footer-fixed {
          position: fixed;
          z-index: 100;
          bottom: 0;
          left: 50%;
          display: -webkit-flex;
          display: flex;
          -webkit-align-items: center;
          align-items: center;
          -webkit-justify-content: center;
          justify-content: center;
          width: 100%;
          max-width: 750px;
          height: 1.26rem;
          background: #5648f2 url(http://img.bc.fqapps.com/fudai2557f6ad244045b0d4bfa3c6158e80a3.png) 0 0/100% no-repeat;
          transform: translateX(-50%);
          cursor: pointer;
          -webkit-user-select: none;
          user-select: none;
          font-size: .32rem;
          font-weight: 700;
          color: #4700ff
      }
      .footer-fixed > div {
          display: -webkit-flex;
          display: flex;
          -webkit-align-items: center;
          align-items: center;
          -webkit-justify-content: center;
          justify-content: center;
          width: 6.94rem;
          height: .9rem
      }
      .footer-fixed img {
          width: .36rem;
          height: .36rem;
          margin-right: .11rem
      }
      @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
          .footer {
              padding-bottom: .3rem
          }
          .footer-fixed {
              padding-bottom: .3rem
          }
      }
      @media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
          .footer {
              padding-bottom: .3rem
          }
          .footer-fixed {
              padding-bottom: .3rem
          }
      }
      @media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
          .footer {
              padding-bottom: .3rem
          }
          .footer-fixed {
              padding-bottom: .3rem
          }
      }

      /* .red-packet{position:fixed;bottom:1.4rem;right:0;width:1.62rem;z-index: 1000;} */
      .red-packet {
          width: 1.62rem
      }
      .js-dust {
          display: none;
          position: fixed;
          top: 50%;
          left: 50%;
          width: 7.5rem;
          height: 9rem;
          transform: translate(-50%, -50%)
      }
      .js-dust-box {
          position: relative
      }
      .js-dust-box i {
          position: absolute;
          top: 1.25rem;
          left: .82rem;
          width: 5.6rem;
          height: 6.78rem;
          cursor: pointer
      }
      .js-dust-box span {
          position: absolute;
          bottom: -1rem;
          left: 50%;
          margin-left: -.3rem;
          width: .6rem;
          height: .6rem;
          background: url(http://img.haodanku.com/Fo2-nJ_43fsFStbAfqMUEcCFJnJ6);
          background-size: 100% 100%;
          cursor: pointer
      }
      .js-dusts {
          display: none;
          position: fixed;
          top: 50%;
          left: 50%;
          width: 7.5rem;
          height: 9rem;
          transform: translate(-50%, -50%)
      }
      .js-dusts .js-dust-box i {
          width: 5.8rem;
          height: 7.8rem
      }
      /* .gather-search{position:fixed;bottom:4.5rem;right:0;width:1.28rem;height:.83rem;background:#f6f6f6;box-shadow:0 .08rem .08rem 0 rgba(0,0,0,.1);opacity:.95;border-radius:.44rem 0 0 .44rem;display:flex;align-items:center;justify-content:center;border:.03rem solid #fff;border-right:0;z-index:100} */

      .gather-search {
          width: 1.28rem;
          height: .83rem;
          background: #f6f6f6;
          box-shadow: 0 .08rem .08rem 0 rgba(0, 0, 0, .1);
          opacity: .95;
          border-radius: .44rem 0 0 .44rem;
          display: flex;
          align-items: center;
          justify-content: center;
          border: .03rem solid #fff;
          border-right: 0;
          margin-bottom: .12rem
      }
      .gather-search img {
          width: .665rem
      }
      .wrap-fixed {
          position: fixed;
          right: 0;
          top: 50%;
          position: fixed;
          right: 0;
          display: flex;
          flex-direction: column;
          align-items: flex-end;
          z-index: 99;
      }
      .share {
          bottom: 3.5rem;
          width: 1.28rem;
          height: .83rem;
          background: #f6f6f6;
          box-shadow: 0 .08rem .08rem 0 rgba(0, 0, 0, .1);
          opacity: .95;
          border-radius: .44rem 0 0 .44rem;
          display: flex;
          align-items: center;
          justify-content: center;
          border: .03rem solid #fff;
          border-right: 0
      }
      .share img {
          width: .665rem;
          margin-left: .25rem
      }
      .share i {
          margin-left: -.2rem;
          margin-top: -.5rem
      }
      .shareBox {
          display: none;
          position: fixed;
          top: 50%;
          left: 50%;
          width: 5.2rem;
          transform: translate(-50%, -50%)
      }
      .shareBox img {
          width: 100%;
          border-radius: .1rem
      }
      .shareBox span {
          bottom: -.8rem
      }
  </style>
  <!--<link rel="stylesheet" href="./pianyuan.css">-->
  <style>ul{list-style:none}*{-webkit-tap-highlight-color:transparent;padding:0}body,html{background:#4396f8;padding:0;margin:0}[v-cloak]{display:none}.mainnav{position:relative;width:100%;height:.74rem;z-index:99;display:flex}.mainnav:before{pointer-events:none;position:absolute;width:.3rem;background:linear-gradient(90deg,#fff,transparent);top:0;left:0;height:100%;z-index:1;content:""}.mainnav>.mainnav-content{display:flex;width:100%}.mainnav .partnav,.mainnav>.mainnav-content{position:relative;height:.74rem;overflow:hidden}.mainnav .partnav{flex:1;background:#fff;color:#333}.mainnav .partnavlist{position:absolute;left:0;-webkit-overflow-scrolling:touch;background:#fff}.mainnav .partnavlist ul{position:relative;white-space:nowrap;font-size:0}.mainnav .partnavlist ul li{padding:0 .15rem;height:.74rem;line-height:.76rem;position:relative;display:inline-block;color:#333;font-size:.26rem;text-align:center;text-decoration:none;cursor:pointer;background:#fff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mainnav .partnavlist ul li:first-child:before{content:normal}.mainnav .partnavlist ul li.active{font-weight:500;color:#4396f8}.mainnav .partnavlist ul li.active i{display:inline-block;width:.22rem;transform:translateY(.04rem)}.mainnav .partnavlist ul li.active i svg .st0{fill-rule:evenodd;clip-rule:evenodd;fill:currentColor}.mainnav .partnavlist ul li.active i svg .st1{fill:currentColor}.mainnav .partnavlist.goods-nav-list ul li{width:1.28rem}.mainnav .morenav{position:relative;width:.8rem;height:.74rem;display:flex;justify-content:center;align-items:center;cursor:pointer;background:#fff}.mainnav .morenav i{font-size:.26rem;color:#333}.mainnav .opennav{position:absolute;top:.74rem;left:0;width:100%;background:#fff}.mainnav .opennav ul{display:flex;flex-wrap:wrap;justify-content:space-around;box-shadow:0 8px 14px -7px rgba(0,0,0,.1);padding:.05rem .15rem;border-top:.0133rem solid #f5f5f5}.mainnav .opennav ul li{font-size:.22rem;letter-spacing:.02rem;text-align:center;display:flex;align-items:center;justify-content:center;border-radius:.08rem;width:1.64rem;height:.54rem;padding:.09rem 0;margin:.15rem .08rem;background:#f5f5f5;color:#666;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mainnav .opennav ul li.active{color:#fff;background:#5a4af4}.mainnav .opennav ul li.active img{width:.2667rem}.mainnav-fixed{position:fixed;top:0;left:0;width:100%;border-radius:0;z-index:199;height:.74rem;background:#fff}.mainnav-fixed .mainnav{width:100%;margin:0 auto}.mainnav-fixed .opennav ul{justify-content:normal}.goods-card{width:7.02rem;background:#fff;display:flex;align-items:center;padding:.2rem;margin-bottom:.2rem;border-radius:.2rem;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.goods-card>img{width:2.3rem;height:2.3rem;border-radius:.1rem;filter:contrast(97%)}.goods-card .detail{position:relative;width:calc(100% - 2.3rem);padding-left:.2rem;box-sizing:border-box}.goods-card .detail .ticket{display:inline-flex;align-items:center;height:.38rem;padding:1px 1px 1px 0;box-sizing:border-box;background:linear-gradient(0deg,#ff753c,#ff4b42);border-radius:2px;font-size:0;font-family:Microsoft YaHei}.goods-card .detail .ticket .name,.goods-card .detail .ticket .value{padding:0 .05rem;font-size:.25rem;font-family:Microsoft YaHei}.goods-card .detail .ticket .name{line-height:1em;font-weight:300;color:#fff}.goods-card .detail .ticket .value{display:flex;align-items:center;height:100%;font-weight:400;color:#ff4d42;background:#fff}.goods-card .detail .price{font-size:.3rem;font-family:PingFang SC;font-weight:700;line-height:1em}.goods-card .detail .price.has-share{padding-right:.5rem}.goods-card .detail .price .discount{color:#f23015;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-card .detail .price .discount strong{font-size:.44rem;line-height:1em}.goods-card .detail .price .price-bottom{margin-top:.1rem}.goods-card .detail .price .price-bottom>div{display:inline-block;vertical-align:top}.goods-card .detail .price .price-bottom .origin{font-weight:500;text-decoration:line-through;color:#b9b9b9}.goods-card .detail .price .price-bottom .sales{float:right;color:#a09f9f}.goods-card .detail .price .price-bottom .sales .name{margin-right:2px}.goods-card .detail .icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:.3rem;width:auto;margin-right:2px}.goods-card .detail .title{display:flex;align-items:center;font-size:.3rem;font-weight:500;color:#000;margin:0}.goods-card .detail .title span{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.goods-card .detail .tm-icons+div{margin-top:0}.goods-card .detail .center{margin:.2rem 0}.goods-card .detail .share{position:absolute;top:.8rem;right:-.2rem;width:1.03rem;font-size:.26rem;font-weight:500;padding-left:.1rem;border-radius:.28rem 0 0 .28rem;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;height:.56rem;color:#f23015;background:#ffefed;display:flex;justify-content:center;align-items:center}.goods-card .detail .footer{display:flex;justify-content:space-between;align-items:flex-end}.goods-card .detail .footer .operation{width:1.87rem;height:.64rem;font-size:.28rem;font-weight:700;color:#bd1d14;background:linear-gradient(0deg,#ffcd62,#fde989);display:flex;justify-content:center;align-items:center;border-radius:.36rem;cursor:pointer}.goods-card .detail .footer .operation.sell-out{background:#eee;color:#ccc;cursor:default}.goods-card-loading{text-align:center;margin:.4rem 0 0;padding-bottom:.4rem;color:#fff}.goods-card-loading span{font-size:.24rem;color:currentColor;letter-spacing:.01rem}.free-share{cursor:pointer}.free-loading{display:flex;justify-content:center;align-items:center;flex-direction:column;padding-top:.6rem}.free-loading>p{font-size:.3rem;color:#fff;letter-spacing:.01rem;margin:.2rem 0 0}.free-loading .la-line-scale{width:1.6rem;height:1.28rem;display:block;font-size:0;color:#4396f8}.free-loading .la-line-scale>div{display:inline-block;float:none;background-color:currentColor;border:0 solid;width:.16rem;height:1.28rem;margin:0 .08rem;border-radius:0;-webkit-animation:line-scale 1.2s ease infinite;animation:line-scale 1.2s ease infinite}.free-loading .la-line-scale>div:first-child{-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.free-loading .la-line-scale>div:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.free-loading .la-line-scale>div:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.free-loading .la-line-scale>div:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.free-loading .la-line-scale>div:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.free-container{min-height:100vh;max-width:7.5rem;background:#4396f8;padding-bottom:1.76rem;margin:0 auto;box-sizing:border-box}.free-banner{width:7.5rem;height:auto;display:block}.rule{position:relative;display:block;width:7.02rem;height:2.61rem;padding:.75rem .1rem .1rem .28rem;box-sizing:border-box;margin:-.5rem auto 0;background:url(http://img-haodanku-com.cdn.fudaiapp.com/FigJSqLrLoDa8hvdpIcEjKncfZzX);background-size:cover}.rule .rule-box{height:100%;overflow:auto}.rule p{margin:0;font-size:.22rem;font-family:PingFang SC;font-weight:500;line-height:.4rem;color:#333}.free-lists{width:7.02rem;margin:.28rem auto 0;box-sizing:border-box}@-webkit-keyframes turn{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes turn{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@-webkit-keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.free-share{position:fixed;bottom:0;width:7.5rem;height:1.76rem;background:linear-gradient(180deg,transparent,#4396f8 50%);padding:.32rem .24rem;box-sizing:border-box;z-index:100}.free-share #share_href{display:flex;align-items:center;justify-content:center;width:6.22rem;height:.9rem;margin:auto;background:linear-gradient(180deg,#fff8e6,#fdeabf);border-radius:.45rem;text-align:center;color:#4396f8;font-size:.324rem;line-height:1em}.free-share #share_href #svg-icon{margin-top:.05rem;margin-right:.1rem;height:1em}.free-share #share_href #svg-icon .cls-1,.free-share #share_href #svg-icon .cls-2{fill:none;stroke:currentColor;stroke-linejoin:round;stroke-width:2px}.free-share #share_href #svg-icon .cls-2{stroke-linecap:round}</style>
</head>


<template id="c-tmp-2">
  <div class="c-tmp-2">
    <div id="app" class="free-container" v-cloak>
      <!-- 点击其它区域收起导航 -->
      <div class="copy-app" v-show="opennavList" @click="opennavList = false"></div>
      <div>
        <header class="header">
          <div class="header-cms">
            <div class="banner">
              <img draggable="false"
                   src="http://img-haodanku-com.cdn.fudaiapp.com/FuowsE14CD1FKpWG3xUlxTcu-rPP" alt="">
            </div>
          </div>
        </header>

        <!-- main盒子 -->
        <div class="maincms">
          <div :class="{'mainnav-fixed': mainnavFixed}">
            <div class="mainnav" ref="mainnav">
              <div class="mainnav-content">
                <div class="partnav" ref="partnav">
                  <div class="partnavlist" ref="partnavlist" @touchstart.stop='toushStart'
                       @touchmove.stop='touMove'>
                    <ul :class="{open: opennavList}">
                      <li
                        ref="ranklistli"
                        v-for="(item, index) in navList"
                        v-on:click="onclicknavList(item,index)"
                        :class="{ 'active': cate_id == item.cat_id }"
                      >
                        <i v-if="cate_id == item.cat_id">
                          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
                               version="1.1"
                               id="组_5739" x="0px" y="0px" viewBox="0 0 20 26" style="enable-background:new 0 0 20 26;"
                               xml:space="preserve">
                    <path class="st0"
                          d="M10,0C4.5,0,0,4.5,0,10c0,5.5,8.2,16,10,16s10-10.5,10-16C20,4.5,15.5,0,10,0z M10,16c-3.3,0-6-2.7-6-6  s2.7-6,6-6s6,2.7,6,6S13.3,16,10,16z"/>
                            <circle id="椭圆_666_拷贝" class="st1" cx="10" cy="10" r="3"/>
                  </svg>
                        </i>
                        <span>{{item.name}}</span>
                      </li>
                    </ul>
                  </div>
                </div>
                <div class="morenav" v-on:click="openList()" ref="morenavElement"
                     :style="opennavList ? 'border-left: 1px solid #f5f5f5;' : 'box-shadow: 0px 0px 12px #ccc;'">
                  <i class="iconfont hdk-paixu2" v-if="!opennavList"></i>
                  <i class="iconfont hdk-paixu" v-if="opennavList"></i>
                </div>
              </div>
              <div class="opennav" v-if="opennavList">
                <ul>
                  <li
                    ref="navlistli"
                    :class="{active:cate_id==navlist.cat_id}"
                    v-for="(navlist,index) in navList"
                    v-on:click="onclicknavList(navlist,index)"
                  >
                    {{navlist.name}}
                  </li>
                </ul>
              </div>
            </div>
          </div>
          <div :style="mainnavFixed ? 'height: 0.74rem;' : 'height: 0rem;'"></div>
          <!-- 最外层商品数据 -->
          <div class="goods-wrap">
            <!-- 店铺免单 -->
            <div class="shopcontent" v-if="cate_id == 66">
              <div class="shop-free">
                <ul class="clearfix">
                  <li class="free-box" v-for="(item,index) in shopArr">
                    <div class="shop-info">
                      <img :src="item.shoplgo" alt="">
                      <div class="shop-title">
                        <p>
                          <img v-if="item.shoptype == 'B'"
                               src="http://img.bc.fqapps.com/fudaie6ac15ca9546399915ff73a1bcd2733e.png"
                               draggable="false"
                               alt="">
                          <img v-else src="http://img.bc.fqapps.com/fudai6d96d1a8fcdae4a6651ea6abc22d2f66.png"
                               draggable="false" alt="">
                          <span>{{item.shopname}}</span>
                        </p>
                        <span>{{item.remark}}</span>
                      </div>
                    </div>
                    <p class="code-txt" :id="'activity' + index" v-on:click="tokenBtn(index, item)">
                      复制口令</p>
                  </li>
                </ul>
              </div>
            </div>
            <!-- 官方会场 -->
            <!-- <div class="hallcontent" id="hallcontent" v-else-if="cate_id == 7">
               <img v-for="(item,index) in shopArr" :src="item.activity_image" :id="'activity' + index"
                    alt="" v-on:click="tokenBtn(index, item)">
             </div>-->
            <!-- 其他商品分类 -->
            <div class="maincontent" v-else>
              <div class="shopdetails">
                <ul class="clearfix">
                  <li class="shop-box" v-for="(item, index) in shopArr">
                    <div class="box-left">
                      <img v-lazy="item.itempic" v-if="item.itempic">
                      <img src="http://img.bc.fqapps.com/fudai13cae4ae6ef16739ed3b100a2ec39e97.gif" alt="" v-else>
                      <div class="rank-num" :style="index + 1 >= 100 ? 'font-size: 0.22rem;' : ''"
                           v-if="(index + 1 <= 100) && (cate_id == 42 || cate_id == 5)">
                        {{index + 1}}
                      </div>
                      <p class="box-sales" v-if="isShowRemark">
                        {{item.remark}}</p>
                    </div>
                    <div class="box-right">
                      <p class="shopname">
                        {{item.itemtitle}}
                      </p>
                      <div class="price">
                        <p><i>券后:￥</i><span>{{ parseFloat(item.itemendprice) }}</span></p>
                        <p v-if="cate_id == 67 || cate_id == 2|| cate_id == 71">月销
                          {{item.itemsale}}</p>
                        <p v-else>月销 {{item.itemsale}}</p>

                      </div>
                      <div class="box-right-bottom">
                        <i class="inProduc-l-coupon">
                          <span>券</span><em>￥{{item.couponmoney}}</em>
                        </i>
                        <div class="panicbuy" :id="'activity' + index"
                             v-on:click="tokenBtn(index, item)">
                          <img class="panicbuy-img" draggable="false"
                               src="http://img-haodanku-com.cdn.fudaiapp.com/Fi6ML8uo4-f5SNLJBTQEKMPiehmo"
                               alt="">
                        </div>
                      </div>
                    </div>
                  </li>
                </ul>
              </div>
            </div>
            <div>
              <p class="realpic-loading" v-show="dataLoadingEnd"
                 :style="shopArr.length == 0 ? 'padding-top:1.6rem;' : ''">暂无更多商品</p>
              <p class="realpic-loading" v-show="loadmsg"
                 :style="(shopArr.length == 0)?'height: 11.5rem;padding-top:1.6rem;':'height: 0rem;padding-top:0rem;padding-bottom: 0.3rem;'">
                加载中...</p>
            </div>
          </div>
        </div>

        <div class="free-share">
          <div id="share_href" v-on:click="handleShare">
            <i>
              <svg xmlns="http://www.w3.org/2000/svg" id="svg-icon" data-name="图层 1" viewBox="0 0 18 19.11">
                <title>分享</title>
                <path class="cls-1" d="M17.5,8A2.5,2.5,0,1,0,15,5.5,2.5,2.5,0,0,0,17.5,8Z"
                      transform="translate(-3 -2)"/>
                <path class="cls-1" d="M6.5,14.5A2.5,2.5,0,1,0,4,12,2.5,2.5,0,0,0,6.5,14.5Z"
                      transform="translate(-3 -2)"/>
                <path class="cls-2" d="M15,6.79,8.67,10.62" transform="translate(-3 -2)"/>
                <path class="cls-2" d="M8.67,13.28,13.27,16" transform="translate(-3 -2)"/>
                <path class="cls-1" d="M15.77,15.11a2.5,2.5,0,1,1-2.5,2.5A2.5,2.5,0,0,1,15.77,15.11Z"
                      transform="translate(-3 -2)"/>
              </svg>
            </i>
            <span>分享好友</span>
          </div>
        </div>
      </div>

      <div>
        <div class="Econtent">
          <div class="Econtent-box">
            <div class="taokolintext">{{Token}}</div>
            <div class="btnBox">手动长按复制口令</div>
            <span v-on:click='layer.closeAll()'></span>
          </div>
        </div>
        <div class="shareBox" v-if="oDustToken.shareShow">
          <img :src="oDustToken.poster">
          <p style="color: #fef1f1;text-align: center; font-size: 0.22rem; margin-top: 0.1rem;">长按保存图片分享</p>
          <span v-on:click='layer.closeAll()'></span>
        </div>
        <div class="js-dust" v-if="oDustToken.packetShow">
          <div class="js-dust-box">
            <img :src="oDustToken.big_packet">
            <i v-on:click="tokenBtn('123456789',oDustToken)" id="activity123456789"></i>
            <span v-on:click='layer.closeAll()'></span>
          </div>
        </div>
        <div class="js-dusts" v-if="oDustToken.kz_waimai_show && takeshareShut">
          <div class="js-dust-box">
            <img :src="oDustToken.kz_waimai_big_icon">
            <i v-on:click="tokenBtn('waimai',oDustToken)" id="activitywaimai"></i>
            <span v-on:click='layer.closeAll()'></span>
          </div>
        </div>
        <div class="wrap-fixed">
          <a :href="addSearch" class="gather-search" v-if="codeId !=''&&codeId !=undefined">
            <img src="http://img-haodanku-com.cdn.fudaiapp.com/FmkQ5Pvie1NIt6K-qT1hd6RAxoa4">
          </a>
          <div class="share" v-on:click="shareBtn()"
               v-if="shareShut && oDustToken.poster &&oDustToken.shareShow && scrollShow">
            <img src="http://img-haodanku-com.cdn.fudaiapp.com/FnrO3dSaobwhdtuZDDhnZS4sjrlF">
          </div>
          <div class="red-packet" v-if="takeiconShut && oDustToken.kz_waimai_show && scrollShow">
            <img :src="oDustToken.kz_waimai_little_icon" v-on:click="popupFun(0)">
          </div>
          <div class="red-packet" v-if="iconShut && oDustToken.packetShow && scrollShow">
            <img :src="oDustToken.little_packet" v-on:click="popupFun(1)">
          </div>
        </div>
      </div>

    </div>
  </div>
</template>

<script>
Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: "http://img.bc.haodanku.com/haodanku/1595237918",
  loading: "http://img.bc.fqapps.com/fudai13cae4ae6ef16739ed3b100a2ec39e97.gif",
  attempt: 1
});
var navStr = "0:全部，1:女装，2:男装，3:内衣，4:美妆，5:配饰，6:鞋品，7:箱包，8:儿童，9:母婴，10:居家，11:美食，12:数码，13:家电，14:其他，15:车品，16:文体，17:宠物";
var navList = navStr.split("，").map(function (value) {
  var split = value.split(":");
  return {name: split[1], cat_id: split[0]};
});
Vue.component("tmp-2", {
  template: "#c-tmp-2",
  data: function () {
    return {
      listData: {
        list: [],
        loading: false,
        finished: false,
        min_id: 1
      },
      codeId: vmRequest("code"),
      navList: navList,
      opennavList: false,
      cate_id: navList[0].cat_id,
      shopArr: [],
      mainnavFixed: false,
      shopdetailsTop: 0,
      loadmsg: true,
      loadshow: true,
      page: 1, //页数
      count: "", //总页数
      Token: "",
      dataLoadingEnd: false, // 数据是否加载完毕
      vmHttp: window.location.protocol.substring(0, window.location.protocol.length - 1),
      // vmHttp: 'https',
      iconShut: true,
      shareShut: true,
      takeiconShut: true,
      takeshareShut: false,
      oDustToken: {
        activity_id: "",
        activity_name: "",
        itemid: "",
        activity_url: "",
        poster: "", //分享图片
        bannerImg1: "",
        bannerImg2: "",
        packetShow: false,
        shareShow: false,
        little_packet: "", //小红包
        big_packet: "",  //大红包
        kz_ad_links: "", //清单页广告
        kz_waimai_activity_id: "",
        kz_waimai_activity_name: "",
        kz_waimai_big_icon: "",
        kz_waimai_little_icon: "",
        kz_waimai_show: false
      },
      scrollShow: true,  //滚动显示隐藏
      // addSearch: window.location.protocol.substring(0, window.location.protocol.length - 1) + '://' + window.location.host + '/gather_search.html?code=' + vmRequest('code'),
      addSearch: location.pathname + "?tmp=search&code=" + vmRequest("code") + "&t=" + vmRequest("tmp"),
    };
  },
  props: {},
  created: function () {
    // this.checkAdFun();
    this.getListData();
  },
  computed: {
    isShowRemark: function () {
      return false;
      var arr = [1, 2, 67, 68, 69, 71];
      return arr.indexOf(this.cate_id) !== -1;
    }
  },
  mounted: function () {
    var self = this;
    setTimeout(function () {
      var distanceTop = self.$refs.mainnav.getBoundingClientRect().top;
      var mainnavHeight = self.$refs.mainnav.getBoundingClientRect().height;
      window.addEventListener("scroll", function () { //下拉加载
        var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
        // 当滑动距离大于等于分类距离顶部位置时，则固定定位
        if (scrollTop >= distanceTop) {
          self.mainnavFixed = true;
          self.shopdetailsTop = mainnavHeight;
          $(".header-addSearch").css("display", "none");
        } else {
          self.mainnavFixed = false;
          self.shopdetailsTop = 0;
          $(".header-addSearch").css("display", "block");
        }
        // 滑动到底部 加载更多数据
        if (scrollTop + window.innerHeight >= document.body.offsetHeight) {
          if (self.loadmsg == false && self.dataLoadingEnd == false) {
            self.getListData();
          }
        }
      });
    }, 100);
  },
  methods: {
    /**
     * 获取时期范围
     */
    getTimeon: function () {
      var self = this;
      $.ajax({
        url: self.vmHttp + "://api.haodanku.com/fdshapi/detection_time",
        type: "get",
        dataType: "json",
        timeout: 5000,
        success: function (data) {
          self.timeon = data.data;
        },
        error: function () {
        },
      });
    },
    checkAdFun: function () {
      var self = this;
      $.ajax({
        type: "Get",
        url: self.vmHttp + "://api.haodanku.com/Activity/checkAd",
        data: {
          code: self.codeId
        },
        dataType: "json",
        timeout: 5000,
        success: function (data) {
          if (data.code == "200") {
            self.oDustToken = {
              activity_id: data.data.activity_id,
              itemtitle: data.data.activity_name,
              itemid: "",
              activity_url: "",
              poster: data.data.poster,
              bannerImg1: data.data.kz_banner,
              bannerImg2: data.data.kz_ad_banner,
              shareShow: data.data.kz_share_show == 1 ? true : false,
              packetShow: data.data.kz_packet_show == 1 ? true : false,
              little_packet: data.data.kz_little_packet,
              big_packet: data.data.kz_big_packet,
              kz_ad_links: data.data.kz_ad_links,
              kz_waimai_activity_id: data.data.kz_waimai_activity_id,
              kz_waimai_activity_name: data.data.kz_waimai_activity_name,
              kz_waimai_big_icon: data.data.kz_waimai_big_icon,
              kz_waimai_little_icon: data.data.kz_waimai_little_icon,
              kz_waimai_show: data.data.kz_waimai_show == 1 ? true : false
            };
            // if (self.codeId != undefined && self.codeId != '') {
            //     self.oDustShowad = data.data.is_show_ad;
            // } else {
            //     self.oDustShowad = 0;
            // }
            // self.ajaxNav();
            self.getNavList();
            self.$nextTick(function () {
              if (self.oDustToken.packetShow) {
                self.popupFun(1);
              }
              // self.oDusBool = true;
              // self.dusLoad = false;
            });
          } else {
            layer.msg(data.message, {
              time: 2000,
              shade: 0.1,
              shadeClose: true
            });
          }
        },
        error: function () {
          layer.msg("网络错误，请检查网络重试", {
            time: 2000,
            shade: 0.1,
            shadeClose: true
          });
        },
      });
    },
    /**
     * 获取商品类目
     */
    getNavList: function () {
      return;
      var self = this;
      $.ajax({
        url: self.vmHttp + "://api.haodanku.com/fdshapi/activity_category",
        type: "get",
        dataType: "json",
        timeout: 5000,
        success: function (data) {
          self.navList = data.data;
          self.cate_id = data.data[0].cat_id;
          // console.log(self.cate_id)
          self.getListData(true);
        },
        error: function () {
        },
      });
    },
    /**
     * 切换分类
     */
    onclicknavList: function (navlist, index) {
      document.body.scrollTop > $(".header").height() && (document.body.scrollTop = $(".header").height());
      document.documentElement.scrollTop > $(".header").height() && (document.documentElement.scrollTop = $(".header").height());
      var self = this;
      self.cate_id = navlist.cat_id;
      // 重置
      self.page = 1;
      self.shopArr = [];
      self.loadmsg = true;
      self.dataLoadingEnd = false;
      self.getListData(true);
      // 整条分类的宽度
      var mainnav_w = this.$refs.mainnav.offsetWidth;
      // 获取单个元素宽度
      var navli_w = this.$refs.ranklistli[index].offsetWidth;
      // 居中的元素距离左右两边的宽度
      var nav_distance = (mainnav_w - navli_w) / 2;
      // 被点击元素距离左边的距离
      var navli_left = parseInt(this.$refs.ranklistli[index].offsetLeft);
      var part_nav_width = this.$refs.partnav.offsetWidth;
      var part_nav_list_width = this.$refs.partnavlist.offsetWidth;
      var nav_offsetLeft = "";
      if (navli_left <= nav_distance) {
        nav_offsetLeft = 0;
      } else if (nav_distance - navli_left <= part_nav_width - part_nav_list_width) {
        nav_offsetLeft = part_nav_width - part_nav_list_width;
      } else {
        nav_offsetLeft = nav_distance - navli_left;
      }
      $(".partnavlist").animate({
        "left": nav_offsetLeft
      }, 300);
      if (this.opennavList) {
        this.opennavList = false;
      }
    },
    /**
     * 滑动开始
     */
    toushStart: function (e) {
      x1 = e.targetTouches[0].pageX;
      y1 = e.targetTouches[0].pageY;
      part_nav_list_left = this.$refs.partnavlist.offsetLeft;
    },
    /**
     * 滑动结束
     */
    touMove: function (e) {
      var x2 = e.targetTouches[0].pageX;
      var y2 = e.targetTouches[0].pageY;
      var part_nav_width = this.$refs.partnav.offsetWidth;
      var part_nav_list_width = this.$refs.partnavlist.offsetWidth;
      if (part_nav_list_left + x2 - x1 >= 0) {
        $(".partnavlist").css("left", 0);
      } else if (part_nav_list_left + x2 - x1 <= part_nav_width - part_nav_list_width) {
        $(".partnavlist").css("left", part_nav_width - part_nav_list_width);
      } else {
        $(".partnavlist").css("left", part_nav_list_left + x2 - x1);
      }
      if (Math.abs(y2 - y1) > 0) {
        e.preventDefault();
      }
    },
    /**
     * 展开所有分类
     */
    openList: function () {
      this.opennavList = !this.opennavList;
    },
    /**
     * 获取商品列表
     */
    getListData: function (callback) {
      var self = this;
      self.loadmsg = true; // 加载中
      $.ajax({
        url: self.vmHttp + "://v2.api.haodanku.com/get_free_shipping_data",
        type: "get",
        data: {
          apikey: "sylar",
          min_id: self.page,
          cat_id: self.cate_id
        },
        dataType: "json",
        timeout: 5000,
        success: function (res) {
          if (Number(res.code) === 1) {
            if (res.data) {
              self.shopArr = self.shopArr.concat(res.data);
              // self.count = res.data.page_all;
              self.loadmsg = false;
              self.page = res.min_id;
              if (!res.data.length) {
                self.dataLoadingEnd = true;
              }
            } else {
              self.loadmsg = false;
              self.dataLoadingEnd = true;
            }
          }
        },
        error: function () {
        },
      });
    },
    /**
     * 获取淘口令
     */
    tokenBtn: function (oIndex, item) {
      var self = this;
      var pram, url;
      var title = "";
      if (this.cate_id == 7 || this.cate_id == 12) {
        var title = item.activity_name;
      } else if (this.cate_id == 66) {
        title = item.shopname;
      } else {
        title = item.itemtitle;
      }
      ;
      if (oIndex == "123456789") {
        title = item.itemtitle;
      }
      var id = item.activity_id;
      if (oIndex == "waimai") {
        title = item.kz_waimai_activity_name;
        id = item.kz_waimai_activity_id;
      }
      $.ajax({
        url: self.vmHttp + "://v2.api.haodanku.com/ratesurl",
        type: "post",
        data: {
          apikey: 'sylar', //---必填
          tb_name:'tb370655212', //---必填
          pid:'mm_1520060136_2232550319_111181400478',     //---必填
          get_taoword: 1,
          itemid: item.itemid,
          title: item.itemshorttitle
        },
        dataType: "json",
        timeout: 5000,
        async: false,
        success: function (data) {
          if (data.code == 1) {
            self.Token = data.data.taoword;
          } else {
            self.Token = "";
            layer.msg(data.msg, {
              time: 2000,
              shade: 0.1,
              shadeClose: true
            });
          }
        },
        error: function () {
          self.Token = "";
          layer.msg("网络错误，请检查网络重试", {
            time: 2000,
            shade: 0.1,
            shadeClose: true
          });
        },
      });
      self.copyBtn(oIndex);
    },
    /**
     * 复制淘口令
     */
    copyBtn: function (oIndex) {
      // cate_id == 7 会场
      var self = this;
      var clipboard = new ClipboardJS("#activity" + oIndex, {
        text: function (target) {
          return self.Token;
        }
      });
      clipboard.on("success", function (e) {
        layer.msg("复制口令成功,请打开淘宝领取", {
          shade: 0.4,
          time: 2000,
          shadeClose: true,
        }, function () {
          layer.closeAll();
        });
        e.clearSelection();
        clipboard.destroy();
      });
      clipboard.on("error", function (e) {
        layer.msg("复制口令失败！", {
          shade: 0.4,
          time: 1000,
          shadeClose: false,
        }, function () {
          layer.open({
            type: 1,
            shift: 0,
            title: false,
            closeBtn: 0,
            shade: 0.4,
            shadeClose: true,
            content: $(".Econtent")
          });
        });
      });
    },
    popupFun: function (number) {
      if (number == 0) {
        this.takeshareShut = true;
        this.$nextTick(function () {
          layer.open({
            type: 1,
            shift: 0,
            title: false,
            closeBtn: 0,
            shade: 0.4,
            shadeClose: true,
            content: $(".js-dusts")
          });
        });
        return;
      }
      layer.open({
        type: 1,
        shift: 0,
        title: false,
        closeBtn: 0,
        shade: 0.4,
        shadeClose: true,
        content: $(".js-dust")
      });
    },
    shareBtn: function () {
      layer.open({
        type: 1,
        shift: 0,
        title: false,
        closeBtn: 0,
        shade: 0.4,
        shadeClose: true,
        content: $(".shareBox")
      });
    },
    /**
     * 分享给好友
     */
    handleShare: function () {
      var that = this;
      var clipboard = new ClipboardJS("#share_href", {
        text: function () {
          return location.href;
        }
      });
      clipboard.on("success", function (e) {
        layer.msg("复制成功，分享给身边好友吧~", {
          time: 1200,
          shift: 5
        });
      });
      clipboard.on("error", function (e) {
        layer.msg("复制失败，请稍后重试", {
          time: 1200,
          shift: 5
        });
      });
    },
  },
});
</script>


<body>
<div id="vmeleven">
  <tmp-2></tmp-2>
</div>
<script src="https://cdn.staticfile.org/jquery/2.2.4/jquery.min.js"></script>

<script src="https://cdn.staticfile.org/layer/2.3/layer.js"></script>
<script src="https://cdn.staticfile.org/clipboard.js/2.0.4/clipboard.min.js"></script>

<script>
var vmUrlSearchs = null;

function vmRequest(name) {
  if (!vmUrlSearchs) {
    vmUrlSearchs = new vmUrlSearch();
  }
  return vmUrlSearchs[name];
};

function vmUrlSearch() {
  var name, value;
  var str = location.href;
  var num = str.indexOf("?");
  str = str.substr(num + 1);
  var arr = str.split("&");
  for (var i = 0; i < arr.length; i++) {
    if (num = arr[i].indexOf("=") != -1) {
      num = arr[i].indexOf("=");
    } else {
      num = arr[i].indexOf("/");
    }
    if (num > 0) {
      name = arr[i].substring(0, num);
      value = arr[i].substr(num + 1);
      this[name] = value;
    }
  }
};
var app = new Vue({
  el: "#vmeleven",
});
</script>
</body>

</html>
